// 雷达图
var chartDom = document.getElementById('radar');
var myChart = echarts.init(chartDom);
var option;
option = {
	title: {
		text: '体检项统计'
	},
	legend: {
		data: ['体检量', '回款金额']
	},
	radar: {
		// shape: 'circle',
		indicator: [{
				name: '心脏彩超',
				max: 6500
			},
			{
				name: '基础项',
				max: 16000
			},
			{
				name: '肺部CT',
				max: 30000
			},
			{
				name: '心电图',
				max: 38000
			},
			{
				name: '甲状腺彩超',
				max: 52000
			},
			{
				name: '肝功化验',
				max: 25000
			}
		]
	},
	series: [{
		name: 'Budget vs spending',
		type: 'radar',
		data: [{
				value: [4200, 3000, 20000, 35000, 50000, 18000],
				name: 'Allocated Budget'
			},
			{
				value: [5000, 14000, 28000, 26000, 42000, 21000],
				name: 'Actual Spending'
			}
		]
	}]
};

option && myChart.setOption(option);
